<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <style>
  html{   
    width: 100%;   
    height: 100%;   
    overflow: hidden;   
    font-style: sans-serif;   
}   
body{   
    width: 100%;   
    height: 100%;   
    font-family: 'Open Sans',sans-serif;   
    margin: 0;   
 
} 
#login{   
    position: absolute;   
    top: 30%;   
    left:30%;   
    margin: -150px 0 0 -150px;   
    width: 300px;   
    height: 300px;   
}   
#login h1{   
   
    text-shadow:0 0 10px;   
    letter-spacing: 1px;   
    text-align: center;   
}   
h1{   
    font-size: 2em;   
    margin: 0.67em 0;   
}    
.but{   
    width: 300px;   
    min-height: 20px;   
    display: block;   
  
    border: 1px solid #3762bc;   
 
    padding: 9px 14px;   
    font-size: 15px;   
    line-height: normal;   
    border-radius: 5px;   
    margin: 0;   
}
input{   
    outline: none;      
    font-size: 13px;   
  
    text-shadow:1px 1px 1px;    
    border-radius: 4px;   

} 
 a{ text-decoration:none; }
   
  
  </style>
    <base href="<%=basePath%>">
    
    <title>注册界面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <script type="text/javascript">
  function aa(){
	  
	  self.location.href="/Test/Denglu.jsp" ; 
	  
  }
  
  
  </script>
  <body>
  <img alt="" src="image/6.jpg" height="100%" width="100%">
   <div id="login">  
      <h1>个人信息管理系统</h1>  
      <table align="center" border="2" width="800">  
      <form method="post">  
        <tr><td>用户名</td><td><input type="text" name="user"></td></tr>  
        <tr><td>密码</td><td><input type="password" name="pass1"></td></tr>  
        <tr><td>确认密码</td><td><input type="password" name="pass2"  onblur="aa2(this)"></td></tr>  
        <tr><td>性别</td><td><input type="radio" name="sex" value="1">男<input type="radio" name="sex" value="2" checked>女</td></tr>
        <tr><td>出生日期</td><td><input type="text" name="bi"></td></tr> 
        <tr><td>民族</td><td><input type="text" name="minzu"></td></tr>     
        <tr><td>学院</td><td>  
             <select name="class">  
              <option value="1"  selected>计算机学院</option>  
               <option value="2">文学院</option>  
               <option value="3">法学院</option>  
             </select> 
         <tr><td>职称</td><td>  
             <select name="zc">  
              <option value="1"  selected>教师</option>  
               <option value="2">学生</option>  
               <option value="3">工作人员</option>  
             </select>  
             <tr><td>电话</td><td><input type="text" name="phone"></td></tr>  
             <tr><td>地址</td><td><input type="text" name="address"></td></tr>  
             <tr><td>邮箱</td><td><input type="text" name="email"></td></tr>         
     <tr><td colspan="2" align="center"><input type="button" value="提交"  onclick="aa()" /> 
     <input type="reset" value="重置" /></td></tr>  
      </div> 
   
  </body>
</html>
